package cn.com.db.dao;


import cn.com.db.model.DiyCart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface DiyCartDao {
    void createDiyCart(DiyCart cart);

    DiyCart getUserDiyCart(@Param("userId") String userId);

    DiyCart getDiyCartById(@Param("id")String id);





}
